﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DailyApp.WebAPI.DataModel
{

    /// <summary>
    /// 备忘录信息
    /// </summary>
    [Table("MemoInfos")]
    public class MemoInfo
    {
        /// <summary>
        /// 备忘录信息Id
        /// </summary>
        [Key]
        public int MemoId { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string? Content { get; set; }

        /// <summary>
        /// 约定 0--待办 1--已完成
        /// </summary>
        public int Status { get; set; }

    }
}
